package com.ruoyi.books.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 非遗项目总对象 books_all
 *
 * @author FeiYiLand
 * @date 2024-03-25
 */
public class BooksAll extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目ID */
    private Long allId;

    /** 所属分类 */
    @Excel(name = "所属分类")
    private Long allAscriptionId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String allName;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String allTitle;

    /** 介绍图片 */
    @Excel(name = "介绍图片")
    private String allImg;

    /** 详细介绍 */
    @Excel(name = "详细介绍")
    private String allDetails;


    /**  非遗历史发展 */
    private List<BooksHistory> booksHistoryList;

    public List<BooksHistory> getBooksHistoryList() {
        return booksHistoryList;
    }

    public void setBooksHistoryList(List<BooksHistory> booksHistoryList) {
        this.booksHistoryList = booksHistoryList;
    }

    public void setAllId(Long allId)
    {
        this.allId = allId;
    }

    public Long getAllId()
    {
        return allId;
    }
    public void setAllAscriptionId(Long allAscriptionId)
    {
        this.allAscriptionId = allAscriptionId;
    }

    public Long getAllAscriptionId()
    {
        return allAscriptionId;
    }
    public void setAllName(String allName)
    {
        this.allName = allName;
    }

    public String getAllName()
    {
        return allName;
    }
    public void setAllTitle(String allTitle)
    {
        this.allTitle = allTitle;
    }

    public String getAllTitle()
    {
        return allTitle;
    }
    public void setAllImg(String allImg)
    {
        this.allImg = allImg;
    }

    public String getAllImg()
    {
        return allImg;
    }
    public void setAllDetails(String allDetails)
    {
        this.allDetails = allDetails;
    }

    public String getAllDetails()
    {
        return allDetails;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("allId", getAllId())
            .append("allAscriptionId", getAllAscriptionId())
            .append("allName", getAllName())
            .append("allTitle", getAllTitle())
            .append("allImg", getAllImg())
            .append("allDetails", getAllDetails())
                .append("booksHistoryList",getBooksHistoryList())
            .toString();
    }
}
